<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
   xmlns:f="http://xmlns.jcp.org/jsf/core"
   xmlns:h="http://xmlns.jcp.org/jsf/html"
   xmlns:p="http://primefaces.org/ui"   
   xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
   template="/WEB-INF/templates/default.xhtml">
   
   	<f:metadata>	   	
	   	<f:viewParam name="firstResult" value="#{bestChooseEvaluationTaskList.firstResult}"></f:viewParam>
	   	<f:viewParam name="moduleName" value="公告审核-择优选取"></f:viewParam>
   	</f:metadata>
   
   	<ui:define name="content">
   
		<h:form id="searchForm">
			<p:panel id="searchResult">
				<f:facet name="header">公告审核-择优选取</f:facet>
				<p:dataTable value="#{bestChooseEvaluationTaskList.resultList}" var="_task">
				
					<p:column headerText="项目名称">
						<h:outputText value="#{_task.processVariables['projectName']}" />
					</p:column>
										
					<p:column width="160">
						<f:facet name="header">选取时间</f:facet>
						<h:outputText value="#{_task.processVariables['chooseTime']}">
							<f:convertDateTime pattern="yyyy-MM-dd HH:mm"/>
						</h:outputText>		
					</p:column>
										
					<p:column width="120" style="text-align: center;">
						<f:facet name="header">操作</f:facet>
						<p:button value="审核" outcome="/manage/business/BestChooseAudit.xhtml">
							<f:param name="taskId" value="#{_task.id}"></f:param>
							<f:param name="bulletinId" value="#{_task.processVariables['bulletinId']}"></f:param>
						</p:button>
					</p:column>
					
				</p:dataTable>
			</p:panel>
			
		</h:form>
      
   	</ui:define>
</ui:composition>
